package com.briup.cms.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.briup.cms.bean.User;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.briup.cms.bean.extend.UserExtend;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.web.servlet.handler.UserRoleAuthorizationInterceptor;

/**
* @author wo'q'q'c
* @description 针对表【cms_user】的数据库操作Mapper
* @createDate 2024-11-18 15:52:41
* @Entity com.briup.cms.bean.User
*/
@Mapper
public interface UserMapper extends BaseMapper<User> {

    IPage<UserExtend> queryAllUserWithRole(IPage<UserExtend> page,
                                           @Param("username") String username,
                                           @Param("status") String status,
                                           @Param("roleId") Integer roleId,
                                           @Param("isVip") Integer isVip);
}




